import { Injectable } from '@angular/core';
import {HttpClient} from "@angular/common/http";

@Injectable({
  providedIn: 'root'
})
export class SinglepageService {

  constructor(private http:HttpClient) { }

  private getSinglePageListUrl="http://localhost:8080/public/getSinglePageList";
  getSinglePageList(){
    return this.http.get(this.getSinglePageListUrl).toPromise();
  }
}
